package com.c.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.c.entity.FoodItem;
import com.c.entity.PopulationClassification;
import com.c.entity.User;
import com.c.utils.PageResult;
import com.c.utils.QueryPageBean;
import com.c.utils.Result;

import java.util.Map;

/**
 * @author wangxiangli
 * @create 2022-12-31-13:04
 */
public interface PopulationClassificationService extends IService<PopulationClassification> {

    //管理员接口分页查询
    PageResult pageQuery2(QueryPageBean queryPageBean);
    //通过id删除
    Result deleteById(Integer id);
    //编辑 -查询所有运动、健康、膳食方案
    Map getSportsAndFoodAndHealthDetail();

    //健康管理师接口分页查询
    PageResult pageQuery3(QueryPageBean queryPageBean, User user1);
    //更新干预人数
    void updateTotalInformation() throws Exception;
}
